package com.example.springboot.service;

import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OneCircularDependencyService {

    @Resource
    private TwoCircularDependencyService twoCircularDependencyService;


    public String getOneCircularDependency(){
        return "One";
    }

    public String getTwoCircularDependency(){
        return twoCircularDependencyService.getTwoCircularDependency();
    }
}
